import request from '@/utils/request';

// 查询订单列表
export function orderList(query) {
  return request({
    url: '/order/order/list',
    method: 'get',
    params: query
  })
}

// 查询订单列表
export function listByPatientId(query) {
  return request({
    url: '/order/order/listByPatientId',
    method: 'get',
    params: query
  })
}

// 缴费订单
export function toPay(query) {
  return request({
    url: '/order/order/toPay',
    method: 'post',
    data: query
  })
}